@import './base.css';

html,body,#app{
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/**
 * 适配 iphone 底部安全区
 */
 @supports (bottom: env(safe-area-inset-bottom)){
  #app {
      padding-bottom: constant(safe-area-inset-bottom);
      padding-bottom: env(safe-area-inset-bottom);
  }
}

@media (hover: hover) {
  a:hover {
    background-color: hsla(160, 100%, 37%, 0.2);
  }
}

@media (min-width: 1024px) {
  body {
    display: flex;
    place-items: center;
  }

  #app {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0 2rem;
  }
}
